home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / etc / ufw / sysctl.conf < prev    next >
Text File  |  2009-09-23  |  1KB  |  33 lines

  1. #
  2. # Configuration file for setting network variables. Please note these settings
  3. # override /etc/sysctl.conf and /etc/sysctl.d. If you prefer to use
  4. # /etc/sysctl.conf, please adjust IPT_SYSCTL in /etc/default/ufw. See
  5. # Documentation/networking/ip-sysctl.txt in the kernel source code for more
  6. # information.
  7. #
  8.  
  9. # Uncomment this to allow this host to route packets between interfaces
  10. #net/ipv4/ip_forward=1
  11. #net/ipv6/conf/default/forwarding=1
  12.  
  13. # Disable ICMP redirects. ICMP redirects are rarely used but can be used in
  14. # MITM (man-in-the-middle) attacks. Disabling ICMP may disrupt legitimate
  15. # traffic to those sites.
  16. net/ipv4/conf/all/accept_redirects=0
  17. net/ipv4/conf/default/accept_redirects=0
  18. net/ipv6/conf/all/accept_redirects=0
  19. net/ipv6/conf/default/accept_redirects=0
  20.  
  21. # Ignore bogus ICMP errors
  22. net/ipv4/icmp_echo_ignore_broadcasts=1
  23. net/ipv4/icmp_ignore_bogus_error_responses=1
  24. net/ipv4/icmp_echo_ignore_all=0
  25.  
  26. # Don't log Martian Packets (impossible addresses)
  27. # packets
  28. net/ipv4/conf/all/log_martians=0
  29. net/ipv4/conf/default/log_martians=0
  30.  
  31. #net/ipv4/tcp_fin_timeout=30
  32. #net/ipv4/tcp_keepalive_intvl=1800
  33.